package FiveHomeworkDesign.Observer;

/**
 * @author 北巷_东坡
 * @date 2022/11/21 22:23
 * @computer 10741
 */
public abstract class Observer206 {
    protected String name;
    protected Allay206 Allay206;

    public Allay206 getAllay206() {
        return Allay206;
    }

    public void setAllay206(Allay206 Allay206) {
        this.Allay206 = Allay206;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public abstract void beAttacked();

    public abstract void help(String name);
}
